package cn.bearspark.currency.enumeration;

import lombok.Getter;

/**
 * 充值流水的类型的枚举类
 *
 * @author f
 */
public enum ChargeTypeEnum {
    WECHAT(0, "微信支付"),
    ALIPAY(1, "支付宝支付");

    /**
     * 充值类型对应的值
     */
    @Getter
    private final int code;

    /**
     * 描述
     */
    private final String desc;

    ChargeTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
